package com.atguigu.cloud.payment8002;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableEurekaClient
//payment-service-8002   入驻eureka集群
@MapperScan("com.atguigu.cloud.payment8002.mapper")
@ComponentScan(basePackages = {"com.atguigu.cloud.payment8002","com.atguigu.cloud.common"})
public class PaymentApp8002 {
    public static void main(String[] args) {
        SpringApplication.run(PaymentApp8002.class,args);
    }
}
